<!---- SUI模板 on ${DATE} -->
<script ng-init="initCssAndJs()"></script>
<script ng-init="initCss('evaluate-details-page/css/evaluate-details.css')"></script>
<header class="bar bar-nav">
    <!--#reflection-->
    <a class="icon icon-left pull-left button-nav" href="javascript:history.go(-2);"></a>

    <h1 class="title">详情</h1>
</header>
<div class="content infinite-scroll" ng-init="showDynamic()">
    <div class="release-all">
        <ul>
            <li>
                <div class="comment-bar">
                    <div class="user-avatar pull-left">
                        <img ng-if="!dynamicInfo.user.userAvatarAddress"
                             ng-src="page/personal-center-page/img/avatar.jpg">
                        <img ng-if="dynamicInfo.user.userAvatarAddress" ng-src="{{dynamicInfo.user.userAvatarAddress}}">
                    </div>
                    <div class="pull-right dateAndName">
                        <div class="nickname">{{dynamicInfo.user.userNickName}}</div>
                        <div class="date">{{dynamicInfo.dynamicDate|date:'yyyy-MM-dd HH:mm:ss'}}</div>
                    </div>
                </div>
                <div class="release-title">{{dynamicInfo.dynamicTitle}}</div>
                <div class="release-content">{{dynamicInfo.dynamicContent}}
                </div>
                <div class="picture">
                    <span ng-if="dynamicInfo.imgAddresses.length>0"
                          ng-repeat="img in dynamicInfo.imgAddresses track by $index">
                    <img ng-src="{{img.imgSrc}}" ng-click="showImg(dynamicInfo.imgAddresses,$index)"/>
                    <!--<img ng-if="!img.isLoad" src="lib/res/loading.gif" class="hide-bg" alt="">-->
                    </span>
                </div>
                <div class="float"></div>
            </li>
        </ul>
    </div>
    <div class="foot">
        <ul class="fa-ul">
            <li>
                <i ng-if="isLikeInfo" class="fa-li fa fa-thumbs-up" style="color: #ff3355"
                   ng-click="addLike(dynamicInfo.dynamicId)"><span
                        style="color: #858585">{{dynamicInfo.dynamicLikeNum}}</span></i>
                <i ng-if="!isLikeInfo" class="fa-li fa fa-thumbs-up" ng-click="addLike(dynamicInfo.dynamicId)">{{dynamicInfo.dynamicLikeNum}}</i>
                <i class="fa-li fa fa-commenting" style="margin-left: 3rem">{{allCommentCount}}</i>
                <i class="fa-li fa fa-mail-forward" style="margin-left: 6rem"></i></li>
        </ul>
    </div>
    <div class="user-all" ng-init="showReview()">
        <ul>
            <li ng-repeat="x in interactionInfos">
                <div class="user-comment">
                    <div class="comment-bar">
                        <div class="user-avatar pull-left">
                            <img ng-if="!x.user1.userAvatarAddress" ng-src="page/personal-center-page/img/avatar.jpg">
                            <img ng-if="x.user1.userAvatarAddress" ng-src="{{x.user1.userAvatarAddress}}">
                        </div>
                        <div class="pull-right dateAndName">
                            <div class="nickname">{{x.user1.userNickName}}&nbsp;</div>
                            <div class="date">{{x.interactionDate|date:'yyyy-MM-dd HH:mm:ss'}}</div>
                        </div>
                    </div>
                    <div ng-click="reviewMore(x.interactionId)" class="comment-div">
                        <div class="comment-content">
                            {{x.dynamicComment}}
                        </div>
                        <a>
                            <div ng-if="x.allInteractionCount!=0" class="more">
                                查看{{x.allInteractionCount}}回复>
                            </div>
                        </a>
                    </div>
                </div>
            </li>


        </ul>
    </div>

    <!-- 加载提示符 -->
    <div class="infinite-scroll-preloader">
        <div class="preloader"></div>
    </div>
</div>
<nav class="nav bar-nav" ng-init="getOneUser()">
    <div style="z-index: -1" class="bottom">
        <input ng-model="interaction.dynamicComment" value="{{interaction.dynamicComment}}" type="text"
               placeholder="期待你的评论...">
        <span style="z-index: 999999" ng-click="review()" class="fa fa-play pull"></span>
    </div>
</nav>
<div ng-init="suiMobileInit('evaluate-details-page/js/evaluate-details.js')"></div>